package com.xlf.service.base.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.xlf.pojo.base.Judge;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xlf.service.base.pojo.dto.RanksDTO;
import com.xlf.service.base.pojo.vo.JudgeStatusVO;
import com.xlf.service.base.pojo.vo.JudgeVO;
import com.xlf.service.base.pojo.vo.ProblemVO;
import com.xlf.service.base.pojo.vo.RanksVO;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
* @author 小新
* @description 针对表【judge】的数据库操作Mapper
* @createDate 2023-10-05 21:34:42
* @Entity com.xlf.service.base.pojo.domain.Judge
*/
public interface JudgeMapper extends BaseMapper<Judge> {


    List<JudgeVO> getJudgeVOList(@Param(Constants.WRAPPER) QueryWrapper<JudgeVO> wrapper);

    List<JudgeStatusVO> selectStatusInfoByProblemId(@Param("problemId") Long problemId);

    List<RanksVO> getRanks();
}




